package com.xhh.nphm.gaoxin.mapper;

import com.xhh.nphm.common.annotation.DataSource;
import com.xhh.nphm.common.constant.Constants;
import com.xhh.nphm.gaoxin.entity.GxqTelExcel;
import com.xhh.nphm.system.domain.MailExcel;
import org.apache.ibatis.annotations.Lang;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.harmony.toddler.mybatis.groovy.GroovyLangDriver;

import java.util.List;
import java.util.Map;

/**
 * @description: 数据报表导出
 * @author: sun
 * @date: 2023-06-06 16:43
 * @version 1.0
 */
@Mapper

public interface GxqDataExportDao {

    /**
     * (网络理政区县）查询本单位信件工单导出
     * @return
     */
    @Select("DataExportSql#netMailWFListExport")
    @Lang(GroovyLangDriver.class)
    List<MailExcel> netMailWFListExport(Map paramMap);

    /**
     * 查询本单位电话工单导出
     * @return
     */
    @Select("DataExportSql#telWFDeptListExport")
    @Lang(GroovyLangDriver.class)
    
    List<GxqTelExcel> telWFDeptListExport(Map paramMap);

    /**
     * 查询本单位信件工单导出
     * @return
     */
    @Select("DataExportSql#mailWFDeptListExport")
    @Lang(GroovyLangDriver.class)
    List<MailExcel> mailWFDeptListExport(Map paramMap);

    /**
     * 查询本单位信件工单不满意件导出
     * @return
     */
    @Select("DataExportSql#mailWFDissatisfyListExport")
    @Lang(GroovyLangDriver.class)
    List<MailExcel> mailWFDissatisfyListExport(Map paramMap);

    /**
     * 查询下级单位电话工单导出
     * @return
     */
    @Select("DataExportSql#subDeptTelWFListExport")
    @Lang(GroovyLangDriver.class)
    
    List<GxqTelExcel> subDeptTelWFListExport(Map paramMap);

    /**
     * 查询下级单位电话工单导出
     * @return
     */
    @Select("DataExportSql#telUrgeWFListExport")
    @Lang(GroovyLangDriver.class)
    
    List<GxqTelExcel> telUrgeWFListExport(Map paramMap);

    /**
     * 查询下级单位信件工单导出
     * @return
     */
    @Select("DataExportSql#subDeptMailListExport")
    @Lang(GroovyLangDriver.class)
    
    List<MailExcel> subDeptMailListExport(Map paramMap);

    /**
     * 查询下级办理中信件工单导出
     * @return
     */
    @Select("DataExportSql#subUrgeMailListExport")
    @Lang(GroovyLangDriver.class)
    
    List<MailExcel> subUrgeMailListExport(Map paramMap);

    /**
     * 查询本单位电话工单不满意件导出
     * @return
     */
    @Select("DataExportSql#telWFDissatisfyListExport")
    @Lang(GroovyLangDriver.class)
    
    List<GxqTelExcel> telWFDissatisfyListExport(Map paramMap);

    /**
     * 查询本单位电话工单不满意件总数
     * @return
     */
    @Select("DataExportSql#telWFDissatisfyListTotal")
    @Lang(GroovyLangDriver.class)
    
    Integer telWFDissatisfyListTotal(Map paramMap);

    /**
     * 查询本单位电话工单不满意件总数
     * @return
     */
    @Select("DataExportSql#mailWFDissatisfyListTotal")
    @Lang(GroovyLangDriver.class)
    Integer mailWFDissatisfyListTotal(Map paramMap);
}
